<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>选择入住城市</title>
    <link rel="stylesheet" href="../../../css/aui.css" />
    <link rel="stylesheet" href="../../../css/iconfont/iconfont.css">
    <link rel="stylesheet" href="../../../css/index/hotel/book.css"/>
</head>
<body style="cursor: pointer">
    <header class="aui-bar aui-bar-nav" id="header">
        <a class="aui-pull-left aui-btn" onclick="closeWin();">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <a class="aui-pull-right aui-btn aui-btn-outlined" onclick="backHome();" >
            <span class="aui-iconfont aui-icon-home"></span>
        </a>
        <div class="aui-title">酒店简介</div>
    </header>
</body>
<script type="text/javascript" src="../../../script/aui/api.js"></script>
<script type="text/javascript" src="../../../script/extend/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../../script/common.js"></script>
<script>
    apiready = function(){
      api.parseTapmode();
      //设置高度
      var header = $api.byId('header');
      $api.fixStatusBar(header);
      var headerPos = $api.offset(header),
          frameheight = api.winHeight - $api.byId('header').offsetHeight;
      api.openFrame({
          name: 'detail_frm',
          url: './detail_frm.html',
          rect: {
              x: 0,
              y: headerPos.h,
              w: 'auto',
              h: frameheight
          },
          reload : true,
          bgColor: 'rgba(0,0,0,0)',
          vScrollBarEnabled: false,
          hScrollBarEnabled: false
      });
    }
</script>
</html>
